package strategy_1.duck;

import strategy_1.duck.fly.FlyNoWay;
import strategy_1.duck.quack.Quack;

/**
 * Created by zjh on 2017/9/13.
 */
public class ModelDuck extends Duck {


    public ModelDuck() {
        flyBehavior = new FlyNoWay();
        quackBehavior = new Quack();
    }

    public void display() {
        System.out.println("I'm a model duck!");
    }
}
